FROM python:2.7
MAINTAINER yanze <yanze000@hotmail.com>

RUN mkdir -p /webapp
ADD . /webapp/
WORKDIR /webapp
RUN pip install -r requirements.txt && chmod +x entry.sh

EXPOSE 5000
ENTRYPOINT ["./entry.sh"]